package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 店铺对象 dianpu
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public class Dianpu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺id */
    private Long dpId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String dpName;

    /** 店铺手机号 */
    @Excel(name = "店铺手机号")
    private String dpPhone;

    /** 主营品id */
    @Excel(name = "主营品id")
    private Long zhuyingpinId;

    /** 店铺地址 */
    @Excel(name = "店铺地址")
    private String dpAddress;

    /** 配送方式id */
    @Excel(name = "配送方式id")
    private Long peisongfangshiId;

    /** 活动id */
    @Excel(name = "活动id")
    private Long hdlxId;

    /** 店铺评分 */
    @Excel(name = "店铺评分")
    private Long dpScore;

    /** 开店时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开店时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dpKaidianshijian;

    /** 店铺状态 */
    @Excel(name = "店铺状态")
    private Long dpStatus;

    public void setDpId(Long dpId) 
    {
        this.dpId = dpId;
    }

    public Long getDpId() 
    {
        return dpId;
    }
    public void setDpName(String dpName) 
    {
        this.dpName = dpName;
    }

    public String getDpName() 
    {
        return dpName;
    }
    public void setDpPhone(String dpPhone) 
    {
        this.dpPhone = dpPhone;
    }

    public String getDpPhone() 
    {
        return dpPhone;
    }
    public void setZhuyingpinId(Long zhuyingpinId) 
    {
        this.zhuyingpinId = zhuyingpinId;
    }

    public Long getZhuyingpinId() 
    {
        return zhuyingpinId;
    }
    public void setDpAddress(String dpAddress) 
    {
        this.dpAddress = dpAddress;
    }

    public String getDpAddress() 
    {
        return dpAddress;
    }
    public void setPeisongfangshiId(Long peisongfangshiId) 
    {
        this.peisongfangshiId = peisongfangshiId;
    }

    public Long getPeisongfangshiId() 
    {
        return peisongfangshiId;
    }
    public void setHdlxId(Long hdlxId) 
    {
        this.hdlxId = hdlxId;
    }

    public Long getHdlxId() 
    {
        return hdlxId;
    }
    public void setDpScore(Long dpScore) 
    {
        this.dpScore = dpScore;
    }

    public Long getDpScore() 
    {
        return dpScore;
    }
    public void setDpKaidianshijian(Date dpKaidianshijian) 
    {
        this.dpKaidianshijian = dpKaidianshijian;
    }

    public Date getDpKaidianshijian() 
    {
        return dpKaidianshijian;
    }
    public void setDpStatus(Long dpStatus) 
    {
        this.dpStatus = dpStatus;
    }

    public Long getDpStatus() 
    {
        return dpStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dpId", getDpId())
            .append("dpName", getDpName())
            .append("dpPhone", getDpPhone())
            .append("zhuyingpinId", getZhuyingpinId())
            .append("dpAddress", getDpAddress())
            .append("peisongfangshiId", getPeisongfangshiId())
            .append("hdlxId", getHdlxId())
            .append("dpScore", getDpScore())
            .append("dpKaidianshijian", getDpKaidianshijian())
            .append("dpStatus", getDpStatus())
            .toString();
    }
}
